package org.grow.sha.service;

import org.grow.sha.entity.Account;
import org.grow.sha.serviceAop.BackMenuException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class LogoutService {
    @Autowired
    private BlueActivity blueActivity;
    Logger logger = LoggerFactory.getLogger(LogoutService.class);

    public void logout(Account account){
        blueActivity.openInvitation(account.getUsername());
    }
}
